package com.example.springboot.service;

import com.example.springboot.pojo.Staff;

import java.util.List;

public interface StaffService {
    void insertStaff(Staff staff);
    List<Staff> selectAllStaff();
    List<Staff> selectStaffByDept(Integer dept);
    List<Staff> selectStaffByName(String name);
    List<Staff> selectStaff(Integer id, String name, String gender, Integer dept);
    void updateStaff(Staff staff);
    Staff selectStaffById(Integer id);
    void deleteStaff(Integer id);
}
